package research_team.client.generated.business;

import java.util.*;
import research_team.client.notgenerated.eventFramework.PropertyChangeSupport;

/**
* TODO javadoc
*/
public class Seminar   {

	private String title;
	private String anAbstract;
	private String place;
	private Date dateFrom;
	private Date dateUntil;
	private String url4slides;
	private Collection<Person> speakers;
	private PropertyChangeSupport<String> propertychangesupporttitle;
	private PropertyChangeSupport<String> propertychangesupportanAbstract;
	private PropertyChangeSupport<String> propertychangesupportplace;
	private PropertyChangeSupport<Date> propertychangesupportdateFrom;
	private PropertyChangeSupport<Date> propertychangesupportdateUntil;
	private PropertyChangeSupport<String> propertychangesupporturl4slides;
	public void setPropertychangesupporttitle(PropertyChangeSupport<String> propertychangesupporttitle) {
		this.propertychangesupporttitle = propertychangesupporttitle;
	}
	public void setPropertychangesupportanAbstract(PropertyChangeSupport<String> propertychangesupportanAbstract) {
		this.propertychangesupportanAbstract = propertychangesupportanAbstract;
	}
	public void setPropertychangesupportplace(PropertyChangeSupport<String> propertychangesupportplace) {
		this.propertychangesupportplace = propertychangesupportplace;
	}
	public void setPropertychangesupportdateFrom(PropertyChangeSupport<Date> propertychangesupportdateFrom) {
		this.propertychangesupportdateFrom = propertychangesupportdateFrom;
	}
	public void setPropertychangesupportdateUntil(PropertyChangeSupport<Date> propertychangesupportdateUntil) {
		this.propertychangesupportdateUntil = propertychangesupportdateUntil;
	}
	public void setPropertychangesupporturl4slides(PropertyChangeSupport<String> propertychangesupporturl4slides) {
		this.propertychangesupporturl4slides = propertychangesupporturl4slides;
	}
 
	public String get_title() {
		return title;
	}

	public void set_title(String title) {
		if(propertychangesupporttitle!=null) {
			propertychangesupporttitle.firePropertyChange(this.title, title);
		}
		System.err.println(title);
		
		this.title = title;
	}

	public String get_anAbstract() {
		return anAbstract;
	}

	public void set_anAbstract(String anAbstract) {
		if(propertychangesupportanAbstract!=null) {
			propertychangesupportanAbstract.firePropertyChange(this.anAbstract, anAbstract);
		}
		System.err.println(anAbstract);
		
		this.anAbstract = anAbstract;
	}

	public String get_place() {
		return place;
	}

	public void set_place(String place) {
		if(propertychangesupportplace!=null) {
			propertychangesupportplace.firePropertyChange(this.place, place);
		}
		System.err.println(place);
		
		this.place = place;
	}

	public Date get_dateFrom() {
		return dateFrom;
	}

	public void set_dateFrom(Date dateFrom) {
		if(propertychangesupportdateFrom!=null) {
			propertychangesupportdateFrom.firePropertyChange(this.dateFrom, dateFrom);
		}
		System.err.println(dateFrom);
		
		this.dateFrom = dateFrom;
	}

	public Date get_dateUntil() {
		return dateUntil;
	}

	public void set_dateUntil(Date dateUntil) {
		if(propertychangesupportdateUntil!=null) {
			propertychangesupportdateUntil.firePropertyChange(this.dateUntil, dateUntil);
		}
		System.err.println(dateUntil);
		
		this.dateUntil = dateUntil;
	}

	public String get_url4slides() {
		return url4slides;
	}

	public void set_url4slides(String url4slides) {
		if(propertychangesupporturl4slides!=null) {
			propertychangesupporturl4slides.firePropertyChange(this.url4slides, url4slides);
		}
		System.err.println(url4slides);
		
		this.url4slides = url4slides;
	}


}